package chap5;

/**
 * @author oldliu
 * @since 1.0
 */
public class Renshu {
    public static void main(String[] args) {
        int year=2012;
        double renshu=25;
        while (renshu<100){
            year++;
            renshu=renshu*(1+0.25);
        }
        System.out.println("到了"+year+",人数超过100万，达到 "+renshu+"万人");
    }
}
